export const stylePx = (style:any) => {
    const newStyle = {}
    for (let item in style){
        newStyle[item] = style[item] + 'px'
    }
    return newStyle
}